package com.xcyy.clbzbh.service;

import com.xcyy.clbzbh.VO.QueryParam;
import com.xcyy.clbzbh.entity.Benchmark;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BenchmarkService {
    Page<Benchmark> findAll(QueryParam queryParam, int pageNum, int pageSize);
    Benchmark save(Benchmark benchmark);
    Benchmark findById(String id);
    Object totalbenchmark();
    List<Object> countCity();
    List<Object> countCountry(String city);
    List<Benchmark> findByCountry(String country);
    Page<Object> countAllCountry(Pageable pageable);
    List<Object> countByName(String country);
}
